<?php

namespace common\widgets;

class ButtonDropdown extends \yii\bootstrap\ButtonDropdown
{

    /**
     * {@inheritdoc}
     */
    protected function renderDropdown()
    {
        $config = $this->dropdown;
        $config['clientOptions'] = false;
        $config['view'] = $this->getView();

        return Dropdown::widget($config);
    }
}
